package org.codetranslators.compiler.tiger.abssyntree;

public class FieldVar extends Var {
   private Var var;
   private Symbol fieldSymbol;
   
   public FieldVar(int p, Var v, Symbol f)
   {
	   pos = p;
	   var = v; 
	   fieldSymbol = f;
   }
   
   public Var getBaseVar()
   {
	   return var;
   }
   
   public Symbol getFieldSymbol()
   {
	   return fieldSymbol;
   }
}
